package com.example.demo3.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo3.entity.Hazard;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 危险源及措施 Mapper 接口
 * </p>
 *
 * @author xsyuan
 * @since 2020-03-27
 */
public interface HazardMapper extends BaseMapper<Hazard> {

    int countPage(Map<Object ,Object> map);

    List<Hazard> queryPage(Map<Object ,Object> map);

    List<Hazard> findByMap(Map<String,Object> map);


}
